package com.xcity.pomelo.push.sync;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

import com.xcity.pomelo.PomeloRoute;
import com.xcity.pomelo.push.SyncPush;

/**
 * 一个string类型的同步项
 * @author YangLi
 *
 */
@PomeloMessage(type = Message.Type.PUSH, route = PomeloRoute.PUSH_SYNC)
public class StringSync extends SyncPush {

	protected String value;
	
	public StringSync(short id, String value) {
		super(id);
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
}
